Component({
  options: {
    addGlobalClass: true,
  },
  data: {
    iconList: [ {
      icon: 'newsfill',
      color: 'orange',
      badge: 1,
      name: '会议预定',
      url: '/pages/meeting/apply/apply'
    }, {
      icon: 'repairfill',
      color: 'yellow',
      badge: 0,
      name: '报事报修',
      url: '/pages/device/center/center'
    }, {
      icon: 'noticefill',
      color: 'olive',
      badge: 22,
      name: '通知',
      url: '/pages/notice/notice'
    }, {
      icon: 'locationfill',
      color: 'cyan',
      badge: 0,
      name: '导航',
      url: '/pages/map/nav/nav'
    }, {
      icon: 'group_fill',
      color: 'blue',
      badge: 0,
      name: '访客中心',
      url: '/pages/visitor/center/center'
    }, {
      icon: 'settingsfill',
      color: 'green',
      badge: 0,
      name: '维修中心',
      url: '/pages/device/center/center'
    }, {
      icon: 'peoplefill',
      color: 'mauve',
      badge: 0,
      name: '会员管理',
      url: '/pages/member/center/center'
    }, {
      icon: 'formfill',
      color: 'olive',
      badge: 3,
      name: '会议管理',
      url: '/pages/meeting/center/center'
    }],
    gridCol: 4,
    skin: false,
    cardCur: 0,
    swiperList: [{
      id: 0,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav.jpg'
    }, {
      id: 1,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav1.png'
    }, {
      id: 2,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav.jpg'
    }, {
      id: 3,
      type: 'image',
      url: 'http://47.104.237.150:8093/images/nav1.png'
    }],
  },
  methods:{
    serviceClick(){
      wx.redirectTo({
        url: '/pages/profile/profile/profile',
      })
    }
  }
})